package com.tao.service.menu.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.google.gson.Gson;
import com.opensymphony.xwork2.interceptor.annotations.Allowed;
import com.tao.domain.ComboTree;
import com.tao.domain.Group;
import com.tao.domain.PolMenu;
import com.tao.domain.SubMenu;
import com.tao.domain.User;
import com.tao.service.group.GroupService;
import com.tao.service.manager.impl.BaseServiceImpl;
import com.tao.service.menu.PolMenuService;
import com.tao.service.menu.SubMenuService;
import com.tao.service.user.UserService;

/**
 * 一级菜单（分局）
 * 
 * @author h
 * 
 */
@Service
public class SubMenuServiceImpl extends BaseServiceImpl<SubMenu> implements
		SubMenuService {

	@Autowired
	private SubMenuService subMenuService; // 分局
	@Autowired
	private PolMenuService polMenuService; // 派出所
	@Allowed
	UserService userService;
	@Allowed
	GroupService groupService;

	

	public SubMenuService getSubMenuService() {
		return subMenuService;
	}

	public void setSubMenuService(SubMenuService subMenuService) {
		this.subMenuService = subMenuService;
	}

	public PolMenuService getPolMenuService() {
		return polMenuService;
	}

	public void setPolMenuService(PolMenuService polMenuService) {
		this.polMenuService = polMenuService;
	}

	public UserService getUserService() {
		return userService;
	}

	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	public GroupService getGroupService() {
		return groupService;
	}

	public void setGroupService(GroupService groupService) {
		this.groupService = groupService;
	}

	

	

}
